import axios from './axios'

// 获取品牌对象
export function getBranded(params={limit: 99999}){
  return axios({
    url:'/branded/list',
    params
  })
}

// 获取所有存在的品牌公司名称
export function getBrandedCompanyList(){
  return axios({
    url:'/branded/getBrandedCompanyList'
  })
}

// 新增品牌对象
export function postBranded(params){
  return axios({
    method:'post',
    url:'/branded/insert',
    params
  })
}

// 逻辑删除品牌对象
export function deleteBranded(params){
  return axios({
    method:'delete',
    url:'/branded/delete',
    params
  })
}

// 修改品牌对象
export function putBranded(params){
  return axios({
    method:'put',
    url:'/branded/update',
    params
  })
}